<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        ul{
            height: 100px;
            font-size: 33px;
            overflow: auto;
        }

    </style>
</head>
<body>

<ul>
    <li>测试1</li>
    <li>测试1</li>
    <li>测试1</li>
    <li>测试1</li>
    <li>测试1</li>
</ul>

</body>
</html>